package com.glsc.ngateway.common.base.domain.oracle.ecology;

import javax.persistence.*;
import java.util.Objects;

/**
 * @Auther: gaojc
 * @Date: 2021/9/24 13:30
 * @Description:
 */
@Entity
@Table(name = "WORKFLOW_SELECTITEM", schema = "ECOLOGY_TARGET", catalog = "")
public class WorkflowSelectitem {
    private Integer fieldid;
    private Integer isbill;
    private Integer selectvalue;
    private String selectname;
    private Integer id;
    private Float listorder;
    private String isdefault;
    private String docpath;
    private String doccategory;
    private String isaccordtosubcom;
    private String childitemid;
    private String cancel;
    private Integer pubid;


    @Id
    @Column(name = "ID")
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Basic
    @Column(name = "FIELDID")
    public Integer getFieldid() {
        return fieldid;
    }

    public void setFieldid(Integer fieldid) {
        this.fieldid = fieldid;
    }

    @Basic
    @Column(name = "ISBILL")
    public Integer getIsbill() {
        return isbill;
    }

    public void setIsbill(Integer isbill) {
        this.isbill = isbill;
    }

    @Basic
    @Column(name = "SELECTVALUE")
    public Integer getSelectvalue() {
        return selectvalue;
    }

    public void setSelectvalue(Integer selectvalue) {
        this.selectvalue = selectvalue;
    }

    @Basic
    @Column(name = "SELECTNAME", nullable = true, length = 1000)
    public String getSelectname() {
        return selectname;
    }

    public void setSelectname(String selectname) {
        this.selectname = selectname;
    }

    @Basic
    @Column(name = "LISTORDER")
    public Float getListorder() {
        return listorder;
    }

    public void setListorder(Float listorder) {
        this.listorder = listorder;
    }

    @Basic
    @Column(name = "ISDEFAULT", nullable = true, length = 1)
    public String getIsdefault() {
        return isdefault;
    }

    public void setIsdefault(String isdefault) {
        this.isdefault = isdefault;
    }

    @Basic
    @Column(name = "DOCPATH", nullable = true, length = 1000)
    public String getDocpath() {
        return docpath;
    }

    public void setDocpath(String docpath) {
        this.docpath = docpath;
    }

    @Basic
    @Column(name = "DOCCATEGORY", nullable = true, length = 1000)
    public String getDoccategory() {
        return doccategory;
    }

    public void setDoccategory(String doccategory) {
        this.doccategory = doccategory;
    }

    @Basic
    @Column(name = "ISACCORDTOSUBCOM", nullable = true, length = 1)
    public String getIsaccordtosubcom() {
        return isaccordtosubcom;
    }

    public void setIsaccordtosubcom(String isaccordtosubcom) {
        this.isaccordtosubcom = isaccordtosubcom;
    }

    @Basic
    @Column(name = "CHILDITEMID", nullable = true, length = 2000)
    public String getChilditemid() {
        return childitemid;
    }

    public void setChilditemid(String childitemid) {
        this.childitemid = childitemid;
    }

    @Basic
    @Column(name = "CANCEL", nullable = true, length = 8)
    public String getCancel() {
        return cancel;
    }

    public void setCancel(String cancel) {
        this.cancel = cancel;
    }

    @Basic
    @Column(name = "PUBID", nullable = true, precision = 0)
    public Integer getPubid() {
        return pubid;
    }

    public void setPubid(Integer pubid) {
        this.pubid = pubid;
    }

    @Override
    public String toString() {
        return "WorkflowSelectitem{" +
                "fieldid=" + fieldid +
                ", isbill=" + isbill +
                ", selectvalue=" + selectvalue +
                ", selectname='" + selectname + '\'' +
                ", id=" + id +
                ", listorder=" + listorder +
                ", isdefault='" + isdefault + '\'' +
                ", docpath='" + docpath + '\'' +
                ", doccategory='" + doccategory + '\'' +
                ", isaccordtosubcom='" + isaccordtosubcom + '\'' +
                ", childitemid='" + childitemid + '\'' +
                ", cancel='" + cancel + '\'' +
                ", pubid=" + pubid +
                '}';
    }
}
